<?php
	global $_W,$_GPC;
	if($_W['role'] && $_W['isajax']){
		$did = $_GPC['did'];
		$del = pdo_delete('mii_ang_timetemplate',array('tid'=>$did));
		if($del){
			exit(json_encode(array('stauts'=>1,'msg'=>'删除看板成功')));
		}else{
			exit(json_encode(array('stauts'=>-1,'msg'=>'删除看板失败')));
		}

	}else{
		exit(json_encode(array('stauts'=>-1,'msg'=>'没有操作权限')));
	}




?>